package com.hu.zhcc.shiro.service.lgx;


import com.hu.zhcc.shiro.dao.lgx.TMemberMedicalhistoryMapper;
import com.hu.zhcc.shiro.entity.lgx.TMemberMedicalhistory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TMembermedicalhistoryServiceImpl implements TMembermedicalhistoryService{
    @Autowired
    TMemberMedicalhistoryMapper tMemberMedicalhistoryMapper;
    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tMemberMedicalhistoryMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TMemberMedicalhistory record) {
        return tMemberMedicalhistoryMapper.insert(record);
    }

    @Override
    public int insertSelective(TMemberMedicalhistory record) {
        return tMemberMedicalhistoryMapper.insertSelective(record);
    }

    @Override
    public TMemberMedicalhistory selectByPrimaryKey(Integer id) {
        return tMemberMedicalhistoryMapper.selectByPrimaryKey(id);
    }

    @Override
    public List<TMemberMedicalhistory> selectByMember(Integer memberId) {
        return tMemberMedicalhistoryMapper.selectByMember(memberId);
    }

    @Override
    public int updateByPrimaryKeySelective(TMemberMedicalhistory record) {
        return tMemberMedicalhistoryMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKeyWithBLOBs(TMemberMedicalhistory record) {
        return tMemberMedicalhistoryMapper.updateByPrimaryKeyWithBLOBs(record);
    }

    @Override
    public int updateByPrimaryKey(TMemberMedicalhistory record) {
        return tMemberMedicalhistoryMapper.updateByPrimaryKey(record);
    }

    @Override
    public TMemberMedicalhistory TMemid(int id) {
        return tMemberMedicalhistoryMapper.TMemid(id);
    }
}
